#pragma once
#include "Textura.h"
#include "String.h"
using namespace std;

class Elemento
{
protected:
	int posx;
	int posy;
	Textura* fondo;
	Textura* linea;
	string id;

public:
	Elemento(void);
	~Elemento(void);
	String GetId();
	void SetId(String Id);
	virtual int getPosX(void){return this->posx;}
	virtual int getPosY(void){return this->posy;}
	virtual void setPosX(int x){this->posx = x;}
	virtual void setPosY(int y){this->posy = y;}
	virtual string getid(void){return this->id;}
	virtual Textura* getFondo(void){return this->fondo;}
	virtual Textura* getLinea(void){return this->linea;}
	virtual string toString(void);
	virtual void Dibujar(SDL_Surface *screen);
	virtual void CargarTextura();

};
